<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--<!DOCTYPE html>-->
<html xmlns:ng="http://angularjs.org" id="ng-app" ng-app="ubang">
<head>
    <!--[if lte IE 8]>
    <script>
        document.createElement('ng-include');
        document.createElement('ng-pluralize');
        document.createElement('ng-view');

        // Optionally these for CSS
        document.createElement('ng:include');
        document.createElement('ng:pluralize');
        document.createElement('ng:view');
    </script>
    <![endif]-->
    <title></title>
    <meta charset="utf-8">
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <!-- 响应式设计 -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link href="/res/plugin/bootstrap/css/bootstrap.css" rel="stylesheet">
    <link href="/res/plugin/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
    <link href="../res/css/main.css" rel="stylesheet">
    <style>

    </style>
    <script src="/res/plugin/jquery/jquery-1.10.1.js"></script>
    <script src="/res/plugin/bootstrap/js/bootstrap.js"></script>
</head>
<body>

<div class="u_child_box">
    <div class="u_title_bar">
        <span class="u_title">个人设置</span>
    </div>
    <table class="u_table u_personal" width="94%">
        <tr>
            <td class="u_align-top" width="35%">

                <div class="u_person-photo">
                    <div id="photodiv">
                        <img id="uphoto" width="160px" style="padding-top: 4px" src="../res/images/u_person-photo.jpg">
                    </div>
                    <input type="hidden" id="id_uphoto" value=""/>
                    <i class="u_icon-edit pull-right" onclick="showEdit('uphoto')"></i>
                </div>

            </td>
            <td width="65%">

                <table class="u_table u_w_100">
                    <tr>
                        <td width="35%">工号</td>
                        <td id="ujobNum">加载中...</td>
                    </tr>
                    <tr>
                        <td>公司名称</td>
                        <td id="PName">加载中...</td>
                    </tr>
                    <tr>
                        <td>分级部门</td>
                        <td id="groupName">加载中...</td>
                    </tr>
                </table>
                <table class="u_table u_w_100">
                    <tr>
                        <td width="35%">姓名</td>
                        <td><span id="uname">加载中...</span></td>
                    </tr>
                    <tr>
                        <td width="35%">手机号码</td>
                        <td><span id="ulinktype">加载中...</span> <i class="u_icon-edit pull-right" onclick="showEdit('ulinktype')"></i></td>
                    </tr>
                    <tr>
                        <td>邮箱地址</td>
                        <td><span id="uemail">加载中...</span> <i class="u_icon-edit pull-right" onclick="showEdit('uemail')"></i></td>
                    </tr>
                    <tr>
                        <td width="35%">注册时间</td>
                        <td><span id="uctime">加载中...</span></td>
                    </tr>
                </table>

            </td>
        </tr>
        <tr>
            <td colspan="2" class="u_contrl-bar">
                <input class="u_icon-submit-btn" type="button" onclick="submitEdit();" value="确认"/>
            </td>
        </tr>

    </table>

</div>
<div id="myModal" style="width: 80%;margin-left:-40%; overflow-y:auto; height: 80%; position: absolute;"  class="modal hide fade" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <span style="position: absolute;cursor: pointer; right: 7px;    z-index: 100;" data-dismiss="modal" aria-hidden="true">
        <i class="icon-remove"></i>
    </span>
    <iframe id="imgFrame" src="/upload/index.jsp"  style="position:absolute;height: 100%;width: 100%;top:0px;left: 0px;right: 0px;bottom: 0px; border: none;"></iframe>
</div>
</body>
</html>
<script type="text/javascript" src="/res/plugin/underscore/underscore-min.js"></script>
<script type="text/javascript" src="/res/plugin/angular/angular.min.js"></script>
<script type="text/javascript" src="/res/plugin/json2.js"></script>
<script src="../../res/js/common.js"></script>
<script src="../res/js/i_common.js"></script>
<script src="i_personal.js"></script>